{% set locals = {
  title: "首页",
  isNav: true
} %}
{% extends './layout/layout.html' %}

{% import "./widgets/blog-list.html" as blog %}

{% block content %}

<h1>
  {{ title }}
</h1>
<p>
  Welcome to
  {{ title }}
</p>
<p>{{locals.name}}</p>
<!-- 引入组件 -->
{% include "./widgets/user-info.html" %}

{{ blog.field(blogList) }}

{% endblock %}